package com.example.composedemo

import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.drawscope.Stroke
import androidx.compose.ui.unit.dp

@Composable
fun CustomView(){
    Canvas(
        modifier = Modifier.fillMaxSize()
    ){
        drawCircle(
            color =  Color.Blue,
            style = Stroke(10f)
        )

        drawRoundRect(
            color = Color.Red,
            style = Stroke(20f)
        )

    }
}